package com.tedu.ds.sessionAndMessage.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SessionVO {

    @ApiModelProperty(value = "对话id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "客户id", example = "1", required = true)
    private Long custId;

    @ApiModelProperty(value = "客户名字", example = "1")
    private String custName;

    @ApiModelProperty(value = "客服id", example = "1", required = true)
    private Long csId;

    @ApiModelProperty(value = "客服名字", example = "1")
    private String csName;

    @ApiModelProperty(value = "记录对话建立的时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间", example = "2023-10-24T20:00:00")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "对话状态", example = "进行中")
    private String status;

    @ApiModelProperty(value = "评价星级", example = "5")
    private String starRating;

    @ApiModelProperty(value = "结束时间", example = "2023-10-24T21:00:00")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;
}